const state={
    subject_id:'',
    subjectTitle:'',
    tab:'',
}
const mutations = {
	SET_SUBJECT:(state,subject)=>{
    state.subject_id = subject.subject_id
    state.subjectTitle = subject.subjectTitle
  },
  SET_TAB:(state,tab)=>{
    state.tab = tab
  },
  
}
const actions = {
  setSubject({
    commit
  }, data) {
    commit('SET_SUBJECT',data)
  },
  // setJurisdictions({commit},data){
  //   commit('SET_JURISDICTION',data)
  //   // return new Promise(resolve =>{
  //   //   resolve(data)
  //   // })
  // }
}
export default {
  state,
  mutations,
  actions
}